Optimal. Leaf size=44 \[ -\frac {d \left (a+b \log \left (c x^n\right )\right )}{x}+e x \left (a+b \log \left (c x^n\right )\right )-\frac {b d n}{x}-b e n x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 37, normalized size of antiderivative = 0.84, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {14, 2334} \[ -\left (\frac {d}{x}-e x\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {b d n}{x}-b e n x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2334
Rubi steps
\begin {align*} \int \frac {\left (d+e x^2\right ) \left (a+b \log \left (c x^n\right )\right )}{x^2} \, dx &=-\left (\frac {d}{x}-e x\right ) \left (a+b \log \left (c x^n\right )\right )-(b n) \int \left (e-\frac {d}{x^2}\right ) \, dx\\ &=-\frac {b d n}{x}-b e n x-\left (\frac {d}{x}-e x\right ) \left (a+b \log \left (c x^n\right )\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 49, normalized size = 1.11 \[ -\frac {a d}{x}+a e x-\frac {b d \log \left (c x^n\right )}{x}+b e x \log \left (c x^n\right )-\frac {b d n}{x}-b e n x \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 58, normalized size = 1.32 \[ -\frac {b d n + {\left (b e n - a e\right )} x^{2} + a d - {\left (b e x^{2} - b d\right )} \log \relax (c) - {\left (b e n x^{2} - b d n\right )} \log \relax (x)}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.35, size = 62, normalized size = 1.41 \[ \frac {b n x^{2} e \log \relax (x) - b n x^{2} e + b x^{2} e \log \relax (c) + a x^{2} e - b d n \log \relax (x) - b d n - b d \log \relax (c) - a d}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.22, size = 249, normalized size = 5.66 \[ -\frac {\left (-e \,x^{2}+d \right ) b \ln \left (x^{n}\right )}{x}-\frac {i \pi b e \,x^{2} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )-i \pi b e \,x^{2} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}-i \pi b e \,x^{2} \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}+i \pi b e \,x^{2} \mathrm {csgn}\left (i c \,x^{n}\right )^{3}-i \pi b d \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )+i \pi b d \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}+i \pi b d \,\mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}-i \pi b d \mathrm {csgn}\left (i c \,x^{n}\right )^{3}+2 b e n \,x^{2}-2 b e \,x^{2} \ln \relax (c )-2 a e \,x^{2}+2 b d n +2 b d \ln \relax (c )+2 a d}{2 x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.47, size = 49, normalized size = 1.11 \[ -b e n x + b e x \log \left (c x^{n}\right ) + a e x - \frac {b d n}{x} - \frac {b d \log \left (c x^{n}\right )}{x} - \frac {a d}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.34, size = 51, normalized size = 1.16 \[ e\,x\,\left (a-b\,n\right )-\ln \left (c\,x^n\right )\,\left (\frac {b\,e\,x^2+b\,d}{x}-2\,b\,e\,x\right )-\frac {a\,d+b\,d\,n}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.89, size = 60, normalized size = 1.36 \[ - \frac {a d}{x} + a e x - \frac {b d n \log {\relax (x )}}{x} - \frac {b d n}{x} - \frac {b d \log {\relax (c )}}{x} + b e n x \log {\relax (x )} - b e n x + b e x \log {\relax (c )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________